package com.loveprogrammer.convert;

import com.loveprogrammer.dto.job.JobChoose;
import com.loveprogrammer.factory.template.JobTemplate;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface JobTemplateConvert {

    JobTemplateConvert INSTANCE = Mappers.getMapper(JobTemplateConvert.class);
    List<JobChoose.JobItem> toJobChooseItems(List<JobTemplate> templates);

}
